Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.smart.folder.ecmTypes

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.smart.folder.ecmTypes">

  <require>org.nuxeo.ecm.platform.types</require>

  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">

    <type id="SmartFolder">
      <label>SmartFolder</label>
      <icon>/icons/smart_folder.png</icon>
      <bigIcon>/icons/smart_folder_100.png</bigIcon>
      <icon-expanded>/icons/smart_folder_expanded.png</icon-expanded>
      <category>Collaborative</category>
      <description>SmartFolder.description</description>
      <default-view>view_documents</default-view>
      <layouts mode="create">
        <layout>heading</layout>
        <layout>nxql_incremental_smart_folder</layout>
      </layouts>
      <layouts mode="view">
        <layout>nxql_incremental_smart_folder</layout>
        <layout>nxql_incremental_smart_folder_content_view</layout>
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <layout>nxql_incremental_smart_folder</layout>
        <layout>dublincore</layout>
      </layouts>
    </type>

    <!-- add it to existing containers -->

    <type id="Folder">
      <subtypes>
        <type>SmartFolder</type>
      </subtypes>
    </type>

    <type id="Workspace">
      <subtypes>
        <type>SmartFolder</type>
      </subtypes>
    </type>

    <type id="OrderedFolder">
      <subtypes>
        <type>SmartFolder</type>
      </subtypes>
    </type>

  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="types">
    <types>
      <type name="SmartFolder">default</type>
    </types>
  </extension>

</component>